#ifndef AEROSOL_GROUNDLAYER_H
#define AEROSOL_GROUNDLAYER_H

#include "aerosol_atmosphere.h"
class AerosolGroundLayer : public AerosolAtmosphere
{
    Q_OBJECT
public:
    explicit AerosolGroundLayer(QString layerName,
				double hBottom,
				double hTop,
				double (*smatrixAero)[3][3],
				double (*pbsdfAeroAveraged)[N_ZENITH][2*N_PI][3][3],
				double aerosolTau = 0,
				QObject *parent = 0);

signals:
	void groundScatUp(QByteArray lightData);
    void caculationOver();
private slots:
	void recvDownIrridance();
	void groundScatResponse();

public:
	void setGroundAlbedo(double albedo);
private:
	double m_groundAlbedo;
	double getCurrentGroundAlbedo();

};

#endif // AEROSOL_GROUNDLAYER_H
